速報APP / 工具 / Media Scanner - update gallery

Media Scanner - update gallery

價格:免費

更新日期:2019-01-27

檔案大小:8.3k

目前版本:1.0

版本需求:Android 2.2 以上版本

官方網站:mailto:hzj_jie@hotmail.com

Media Scanner - update gallery(圖1)-速報App

This is a small tool to force Android to scan public media directories, and recovery missing items in gallery / music / video apps.

It can help to resolve the issue that, some pictures or musics are in photo or music folders, but won't show up in Gallery app or Music app.

This tool scans Android public directories, include DCIM / Movies / Music / Pictures folders, to list all files, compares with existing items in Android MediaStore, then triggers Android MediaStore scan procedures for missing files.

So if your photos, musics or videos, are in expected folders, but they won't show up in apps, this app is the right tool to resolve the issue.

It has no UI. After being started, it will do its work in background, then quite. You may schedule a regular job to execute it with Init script runner -- autoexec @ https://play.google.com/store/apps/details?id=org.gemini.init, or other job schedulers.

Though this app itself has a very small footprint, only several kilo bytes of storage, and several mega bytes memory usage, the MediaStore scanning service it triggers is not a cheap procedure. So it's not a good idea to start this app too frequently. And I do not want an icon to enlarge the size of this app, so the default icon is transparent.

Media Scanner - update gallery(圖2)-速報App

The only permission required by this app is READ_EXTERNAL_STORAGE, which is required to list existing media files.

Note, if your media files are not in the default folders, this app won't help you. Since it won't randomly search in entire file system. According to the hardware / manufacturer configuration, the default folders may be various, but usually they should be,

- /sdcard/Music for musics

- /sdcard/DCIM for photos

- /sdcard/Pictures for other pictures

- /sdcard/Video for videos (Some may just be put into DCIM folder)

This is an open source project, you can find the code @ https://github.com/Hzj-jie/android-media-scanner.